package httpserver;

public class HTTPException extends Exception {

    private int code;

    public HTTPException(int code){
        super();
        this.code = code;
    }
    public HTTPException(int code, String message){
        super(message);
        this.code = code;
    }
    public int getStatusCode(){
        return code;
    }
}
